php forum
php mysql forum
php mysql smarty
 
Topic Options
#283687 - 02/20/05 09:54 AM Beta-[6.5] Donate 1.0
dparvin Offline
Member

Registered: 08/08/04
Posts: 184
Loc: UK
Mod Name / Version: Donate 1.0 <br /> <br />Description: A quick and easy mod to set up a donate page on your site. <br /> <br />Working Under: UBB.Threads 6.5 <br /> <br />Mod Status: Beta <br /> <br />Any pre-requisites: None <br /> <br />Author(s): dparvin <br /> <br />Date: 02/20/05 <br /> <br />Credits: Me, I wanted it! <br /> <br />Files Altered: ubbt_footer.tmpl <br /> <br />New Files: donate.php, donate.tmpl <br /> <br />Database Altered: None <br /> <br />Info/Instructions: This is my first mod, so go easy on me if you find anything wrong <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> <br /> <br /> Working version here <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.


Attachments
125444-Donate1.zip (68 downloads)


Top
#283688 - 02/20/05 11:10 AM Re: Beta-[6.5] Donate 1.0 [Re: DMClark]
Harold Offline
Power User

Registered: 10/20/05
Posts: 82
Loc: Defiance, Ohio
It wasn't working.<br /><br />Parse error: parse error, unexpected T_STRING in /var/www/html/ubbthreads/donate.php on line 35

Top
#283689 - 02/20/05 11:12 AM Re: Beta-[6.5] Donate 1.0 [Re: DVORAK]
Harold Offline
Power User

Registered: 10/20/05
Posts: 82
Loc: Defiance, Ohio
It worked with the second try.

Top
#283690 - 02/20/05 11:12 AM Re: Beta-[6.5] Donate 1.0 [Re: DVORAK]
dparvin Offline
Member

Registered: 08/08/04
Posts: 184
Loc: UK
I was playing with something else.<br /><br />Its working now <img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" />
_________________________
parentforum.org

Top
#283691 - 02/20/05 04:26 PM Re: Beta-[6.5] Donate 1.0 [Re: DMClark]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
Nice... <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /><br /><br />I'll keep an eye on this thread to see how this one wraps up.<br /><br />Thanks for sharing.

Top
#283692 - 02/20/05 06:19 PM Re: Beta-[6.5] Donate 1.0 [Re: DMClark]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
nice one, thanks for sharing <img src="http://www.ubbdev.com/forum/images/graemlins/waytogo.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#283693 - 02/21/05 03:25 AM Re: Beta-[6.5] Donate 1.0 [Re: SurfMinister]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
<img src="http://www.ubbdev.com/forum/images/graemlins/yeahthat.gif" alt="" /> <img src="http://www.ubbdev.com/forum/images/graemlins/yay.gif" alt="" />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#283694 - 02/21/05 03:27 AM Re: Beta-[6.5] Donate 1.0 [Re: Gorlum]
dparvin Offline
Member

Registered: 08/08/04
Posts: 184
Loc: UK
Thanks people, my first mod and it works <img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" /><br /><br />I have slightly changed the version on my site since.
_________________________
parentforum.org

Top
#283695 - 02/21/05 08:16 AM Re: Beta-[6.5] Donate 1.0 [Re: DMClark]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Keep up the good work <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> Does that mean that the version here needs updating?
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#283696 - 02/21/05 12:17 PM Re: Beta-[6.5] Donate 1.0 [Re: Gorlum]
dparvin Offline
Member

Registered: 08/08/04
Posts: 184
Loc: UK
[]Ian_W said:<br />Keep up the good work <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> Does that mean that the version here needs updating? [/]<br /><br />No, it just means mine shows the potential of the mod <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" />
_________________________
parentforum.org

Top
#283697 - 02/21/05 12:31 PM Re: Beta-[6.5] Donate 1.0 [Re: DMClark]
monkeyra Offline
Junior Member

Registered: 06/28/01
Posts: 363
Loc: uk
Nice one dan!<br />First mod! thats more than me, i don't think i've contributed anything useful ever, lol!!!

Top
#283698 - 02/21/05 12:42 PM Re: Beta-[6.5] Donate 1.0 [Re: Luka_dup1]
dparvin Offline
Member

Registered: 08/08/04
Posts: 184
Loc: UK
[]monkeyra said:<br />Nice one dan!<br />First mod! thats more than me, i don't think i've contributed anything useful ever, lol!!! [/]<br /><br />Thanks Nick, you have helped me out on more that one occasion though <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" />
_________________________
parentforum.org

Top
#283699 - 05/15/05 01:22 AM Re: Beta-[6.5] Donate 1.0 [Re: DMClark]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
dparvin, thanks for getting this one together for us. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /><br /><br />I'm trying to figure out how to fix this. If a member clicks on the "Donate" link and then clicks on the button that will take him to PayPal.... Well, what if the member decides after all not to donate? He/she closes the browser and then finds him/herself without the forums page still open.<br /><br />I'd like to keep the forums page still open after the member clicks on the link that will take him/her into PayPal.<br /><br />See if any of you guys can help me on this one. Here's what my code looks like for PayPal link:<br /><br /><br /><form action="https://www.paypal.com/cgi-bin/webscr"method="post"><br /> <div align="center"> <br /> <input type="hidden" name="cmd" value="_xclick"><br /> <input type="hidden" name="business" value="support@f-bodyhideout.com"><br /> <input type="hidden" name="item_name" value="F-Body Hideout Website/Forums"><br /> <input type="hidden" name="return" value="http://www.f-bodyhideout.com"><br /> <input type="hidden" name="cancel_return" value="http://www.f-bodyhideout.com"><br /> <input type="hidden" name="currency_code" value="USD"><br /> <input type="hidden" name="tax" value="0"><br /> <input name="submit" type="image" src="https://www.paypal.com/images/x-click-but21.gif" alt="Make payments with PayPal - it's fast, free and secure!" border="0"><br /> </div><br /> </form>

Top
#283700 - 05/17/05 04:41 PM Re: Beta-[6.5] Donate 1.0 [Re: General_Failure]
dparvin Offline
Member

Registered: 08/08/04
Posts: 184
Loc: UK
I have over looked this. I think I need to update.<br /><br />I am now showing this on my ubbt_registerednav.tmpl. This is because no one noticed it on the footer. Since its been on the menu I have had some donations <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />First thing I can think to fix this would be to add "_blank" before the link code.<br /><br />This is part of my ubbt_registerednav.tmpl<br /><br />
Code:
 <br />&amp;middot;<br />&lt;a target = "_blank" href = "$phpurl/sigma_chat.php?Cat=$Cat"&gt;Chat Room&lt;/a&gt;<br />&amp;middot;<br />&lt;a href="{$config['phpurl']}/donate.php?Cat=$Cat"&gt;{$ubbt_lang['DONATE']}&lt;/a&gt;<br /> 
<br /><br /><br />You could add "_blank" to the donate link so that whole page would open in a new window. Then if the user did close the window, they would have another one open with the forums still showing <img src="http://www.ubbdev.com/forum/images/graemlins/grin.gif" alt="" /><br /><br />
Code:
 <br />&lt;a target = "_blank" href="{$config['phpurl']}/donate.php?Cat=$Cat"&gt;{$ubbt_lang['DONATE']}&lt;/a&gt;<br /> 
<br /><br />I have not tested this, but I do not see any reason for this not to work
_________________________
parentforum.org

Top
#283701 - 05/17/05 11:02 PM Re: Beta-[6.5] Donate 1.0 [Re: DMClark]
smoknz28 Offline
Enthusiast

Registered: 04/10/03
Posts: 393
Loc: Washington, D.C.
dparvin, worked out just the way I wanted with:<br /><br /><a target = "_blank" href="{$config['phpurl']}/donate.php?Cat=$Cat">{$ubbt_lang['DONATE']}</a><br /><br /><br />Thanks for putting this one together for all of us. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />

Top
#283702 - 05/18/05 01:58 AM Re: Beta-[6.5] Donate 1.0 [Re: General_Failure]
dparvin Offline
Member

Registered: 08/08/04
Posts: 184
Loc: UK
No problem, glad you like it.<br /><br />Thanks for the idea about opening in a new window, I had not thought about that. I will add this to the next version <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
parentforum.org

Top
#283703 - 06/12/05 03:48 PM Re: Beta-[6.5] Donate 1.0 [Re: DMClark]
minimock Offline
Newbie

Registered: 01/21/05
Posts: 14
Great Mod, now can you make a mod that makes these tight wads donate? <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" />

Top
#283704 - 06/14/05 03:14 PM Re: Beta-[6.5] Donate 1.0 [Re: Trailrider]
dparvin Offline
Member

Registered: 08/08/04
Posts: 184
Loc: UK
[]minimock said:<br />Great Mod, now can you make a mod that makes these tight wads donate? <img src="http://www.ubbdev.com/forum/images/graemlins/laugh.gif" alt="" /> [/]<br /><br />lol<br /><br />I would love to know the secret for that, if I knew I am not sure I would share it though <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
parentforum.org

Top



Moderator:  Ian_W 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks